//
//  dataGetUserInfo.m
//  DBAChain
//
//  Created by Evan on 2018/9/15.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "dataGetUserInfo.h"

@implementation dataGetUserInfo

-(void)encodeWithCoder:(NSCoder *)aCoder{
    
    [aCoder encodeObject:@(self.activeCoin) forKey:@"activeCoin"];
    [aCoder encodeObject:@(self.activeLock) forKey:@"activeLock"];
    [aCoder encodeObject:@(self.createTime) forKey:@"createTime"];
    [aCoder encodeObject:@(self.effective) forKey:@"effective"];
    [aCoder encodeObject:@(self.effectiveCount) forKey:@"effectiveCount"];
    [aCoder encodeObject:@(self.freezeMoney) forKey:@"freezeMoney"];
    [aCoder encodeObject:@(self.goldCoin) forKey:@"goldCoin"];
    [aCoder encodeObject:@(self.goldLock) forKey:@"goldLock"];
    [aCoder encodeObject:@(self.pid) forKey:@"pid"];
    [aCoder encodeObject:self.imageUrl forKey:@"imageUrl"];
    [aCoder encodeObject:@(self.isEmpty) forKey:@"isEmpty"];
    [aCoder encodeObject:self.level forKey:@"level"];
    [aCoder encodeObject:self.password forKey:@"password"];
    [aCoder encodeObject:self.payPassword forKey:@"payPassword"];
    [aCoder encodeObject:self.phone forKey:@"phone"];
    [aCoder encodeObject:@(self.rechargeCoin) forKey:@"rechargeCoin"];
    [aCoder encodeObject:self.referee forKey:@"referee"];
    [aCoder encodeObject:self.refereeCode forKey:@"refereeCode"];
    [aCoder encodeObject:@(self.refereeCount) forKey:@"refereeCount"];
    [aCoder encodeObject:self.registerTime forKey:@"registerTime"];
    [aCoder encodeObject:@(self.sex) forKey:@"sex"];
    [aCoder encodeObject:@(self.status) forKey:@"status"];
    [aCoder encodeObject:self.updateTime forKey:@"updateTime"];
    [aCoder encodeObject:self.userName forKey:@"userName"];
    [aCoder encodeObject:self.userNo forKey:@"userNo"];
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super init]) {
    }
    return self;
}

+(NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{ @"pid":@"id" };
}

@end
